/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package quanlinganhang.dto;

import java.util.ArrayList;
import java.util.Date;
import quanlinganhang.dao.AccountDAO;

/**
 * Class đại diện cho tài khoản ngân hàng
 *
 * @version 1.0 20/4/2013
 * @author phamduong
 */
public class AccountDTO {

    private long ID;
    private String SoTaiKhoan;
    private String PinCode;
    private String HoTen;
    private String SoCMND;
    private String DiaChi;
    private String DienThoai;
    private String Email;
    private Date NgayMo;
    private Date NgayDaoHan;
    private long MaLoaiTK;
    private long SoDuTK;
    private boolean DaDong;
    private String GhiChu;

    /**
     * Hàm khời tạo không tham số
     */
    public AccountDTO() {
        SoTaiKhoan = "";
        PinCode = "";
        HoTen = "";
        SoCMND = "";
        DiaChi = "";
        DienThoai = "";
        Email = "";
        NgayMo = new Date();
        NgayDaoHan = new Date();
        MaLoaiTK = 0;
        SoDuTK = 0;
        DaDong = true;
        GhiChu = "";
    }

    
    /**
     * Constructor with parameter
     *
     * @param SoTaiKhoan
     * @param PinCode
     * @param Hoten
     * @param CMND
     * @param DiaChi
     * @param DienThoai
     * @param Email
     * @param NgayMo
     * @param NgayDaoHan
     * @param MaLoaiTK
     * @param SoDuTK
     * @param DaDong
     * @param GhiChu
     */
    public AccountDTO(String SoTaiKhoan, String PinCode, String Hoten, String CMND,
            String DiaChi, String DienThoai, String Email, Date NgayMo, Date NgayDaoHan,
            long MaLoaiTK, long SoDuTK, boolean DaDong, String GhiChu, long ID) {
        this.SoTaiKhoan = SoTaiKhoan;
        this.PinCode = PinCode;
        this.HoTen = Hoten;
        this.SoCMND = CMND;
        this.DiaChi = DiaChi;
        this.DienThoai = DienThoai;
        this.Email = Email;
        this.NgayMo = NgayMo;
        this.NgayDaoHan = NgayDaoHan;
        this.MaLoaiTK = MaLoaiTK;
        this.SoDuTK = SoDuTK;
        this.DaDong = DaDong;
        this.GhiChu = GhiChu;
        this.ID = ID;
    }

    /**
     * @return the ID
     */
    public long getID() {
        return ID;
    }

    /**
     * @param ID the ID to set
     */
    public void setID(long ID) {
        this.ID = ID;
    }

    /**
     * @return the SoTaiKhoan
     */
    public String getSoTaiKhoan() {
        return SoTaiKhoan;
    }

    /**
     * @param SoTaiKhoan the SoTaiKhoan to set
     */
    public void setSoTaiKhoan(String SoTaiKhoan) {
        this.SoTaiKhoan = SoTaiKhoan;
    }

    /**
     * @return the PinCode
     */
    public String getPinCode() {
        return PinCode;
    }

    /**
     * @param PinCode the PinCode to set
     */
    public void setPinCode(String PinCode) {
        this.PinCode = PinCode;
    }

    /**
     * @return the HoTen
     */
    public String getHoTen() {
        return HoTen;
    }

    /**
     * @param HoTen the HoTen to set
     */
    public void setHoTen(String HoTen) {
        this.HoTen = HoTen;
    }

    /**
     * @return the SoCMND
     */
    public String getSoCMND() {
        return SoCMND;
    }

    /**
     * @param SoCMND the SoCMND to set
     */
    public void setSoCMND(String SoCMND) {
        this.SoCMND = SoCMND;
    }

    /**
     * @return the DiaChi
     */
    public String getDiaChi() {
        return DiaChi;
    }

    /**
     * @param DiaChi the DiaChi to set
     */
    public void setDiaChi(String DiaChi) {
        this.DiaChi = DiaChi;
    }

    /**
     * @return the DienThoai
     */
    public String getDienThoai() {
        return DienThoai;
    }

    /**
     * @param DienThoai the DienThoai to set
     */
    public void setDienThoai(String DienThoai) {
        this.DienThoai = DienThoai;
    }

    /**
     * @return the Email
     */
    public String getEmail() {
        return Email;
    }

    /**
     * @param Email the Email to set
     */
    public void setEmail(String Email) {
        this.Email = Email;
    }

    /**
     * @return the NgayMo
     */
    public Date getNgayMo() {
        return NgayMo;
    }

    /**
     * @param NgayMo the NgayMo to set
     */
    public void setNgayMo(Date NgayMo) {
        this.NgayMo = NgayMo;
    }

    /**
     * @return the NgayDaoHan
     */
    public Date getNgayDaoHan() {
        return NgayDaoHan;
    }

    /**
     * @param NgayDaoHan the NgayDaoHan to set
     */
    public void setNgayDaoHan(Date NgayDaoHan) {
        this.NgayDaoHan = NgayDaoHan;
    }

    /**
     * @return the MaLoaiTK
     */
    public long getMaLoaiTK() {
        return MaLoaiTK;
    }

    /**
     * @param MaLoaiTK the MaLoaiTK to set
     */
    public void setMaLoaiTK(long MaLoaiTK) {
        this.MaLoaiTK = MaLoaiTK;
    }

    /**
     * @return the SoDuTK
     */
    public long getSoDuTK() {
        return SoDuTK;
    }

    /**
     * @param SoDuTK the SoDuTK to set
     */
    public void setSoDuTK(long SoDuTK) {
        this.SoDuTK = SoDuTK;
    }

    /**
     * @return the DaDong
     */
    public boolean isDaDong() {
        return DaDong;
    }

    /**
     * @param DaDong the DaDong to set
     */
    public void setDaDong(boolean DaDong) {
        this.DaDong = DaDong;
    }

    /**
     * @return the GhiChu
     */
    public String getGhiChu() {
        return GhiChu;
    }

    /**
     * @param GhiChu the GhiChu to set
     */
    public void setGhiChu(String GhiChu) {
        this.GhiChu = GhiChu;
    }
}
